package com.kirayous.task3.utils;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

@Component
public class beforeRunnerTask  implements CommandLineRunner {




    @Override
    public void run(String... args) throws Exception {

        System.out.println("before runner start get data");
        TaskOfScheduler.updateData();

    }
}
